package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 先进故事对象 advanced_stories
 */
public class AdvancedStories {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 故事标题 */
    @Excel(name = "故事标题")
    private String title;

    /** 故事详细内容 */
    @Excel(name = "故事详细内容")
    private String content;

    /** 相关视频URL */
    @Excel(name = "相关视频URL")
    private String videoUrl;

    // 必须提供 getter 和 setter 方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("videoUrl", getVideoUrl())
                .toString();
    }
}